package net.sf.amateras.air.as.assist.reader;

import java.util.ArrayList;
import java.util.List;

public class As3Package {
    String name;
    List<As3Variable> variables;
    List<As3Const> constants;
    List<As3Function> functions;
    List<As3Class> classes;
    List<As3Package> packages;
    List<As3Interface> interfaces;

    public As3Package() {
        variables = new ArrayList<As3Variable>();
        constants = new ArrayList<As3Const>();
        functions = new ArrayList<As3Function>();
        classes = new ArrayList<As3Class>();
        packages = new ArrayList<As3Package>();
        interfaces = new ArrayList<As3Interface>();
    }
    
    public String toString() {
        return name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<As3Variable> getVariable() {
        return variables;
    }

    public void setVariables(List<As3Variable> fields) {
        this.variables = fields;
    }

    public List<As3Const> getConstants() {
        return constants;
    }

    public void setConstants(List<As3Const> constants) {
        this.constants = constants;
    }

    public List<As3Function> getFunctions() {
        return functions;
    }

    public void setFunctions(List<As3Function> methods) {
        this.functions = methods;
    }

    public List<As3Class> getClasses() {
        return classes;
    }

    public void setClasses(List<As3Class> classes) {
        this.classes = classes;
    }

    public List<As3Package> getPackages() {
        return packages;
    }

    public void setPackages(List<As3Package> packages) {
        this.packages = packages;
    }

    public List<As3Interface> getInterfaces() {
        return interfaces;
    }

    public void setInterfaces(List<As3Interface> interfaces) {
        this.interfaces = interfaces;
    }

}
